home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / READMEFiles / Unknown.README < prev    next >
Text File  |  1992-08-29  |  3KB  |  49 lines

  1. Unknown's existence in the application search path (ApplicationPaths) causes new icons to be defined for file types that don't have them.  For example, it defines icons for the '.el', '.awk', etc. files in place of the default text document icon, however launching these documents still invokes the Edit application.  The Unknown application also defines icons for the binary '.o', '.a', etc. files, but launching these does not invoke the text editor--instead these launch the Unknown application (just puts up an icon and quits--a no-op).
  2.  
  3. Unknown is not a no-op application when launched on entries that have (optional) Unix command entries in the Unknown.iconinfo file.  The file name being launched is spliced into the Unix command and then it is executed by 'sh'.  Before passing the command to 'sh', an alert box will verify with the user if Unknown should proceed.  This verification can be turned off by doing 'dwrite Unknown Verify No'.  If an error is detected, another alert box will report this fact and the exit code.  This reporting can be turned off by doing 'dwrite Unknown ReportError No'.
  4.  
  5.  
  6. INSTALLATION
  7.  
  8. To use the program, put the Unknown application in /LocalApps, or your personal ~/Apps directory, and then either use the 'View>Update Viewers' Workspace Manager menu item or logout and login again to see the new icons.
  9.  
  10.  
  11. ADDING ICONS & MAPPINGS
  12.  
  13. To add your own icons and 'owner' application mappings, create an appropriate (48x48) tiff file whose name is the same as a file extension and add it to the /tiff subdirectory of the Unknown source directory.  Then, edit the file Unknown.iconinfo and add an entry of the form 'extension:application:unix command<NL>'--the file contains several examples.  The 'unix command' is optional and should have %s (up to five) where the file name being launched is to be substituted.
  14.  
  15. Then do:
  16.  
  17.   make IconInfo # rebuild the IconInfo program
  18.   make files    # generate the Makefile.preamble and Unknown.iconheader files
  19.   make          # rebuild the Unknown application itself
  20.   make install  # add the program to /LocalApps
  21.   make clean    # clean up afterwards
  22.   
  23. Or do:
  24.  
  25.   make complete # to do all the above
  26.  
  27.  
  28. SUBMITTING ICONS
  29.  
  30. This is an evolving application.  I hope the set of icons increases and improves (as others who are more artistically inclined get interested).   Please send me Email if you have potential additions.
  31.  
  32.  
  33. MISC
  34.  
  35. In theory, if one were to extract Macintosh icons and add them in as well and keep files on the NeXT (or any NFS mounted Unix host) via aufs using standard file extensions, one could view Macintosh directories from either the Macintosh or NeXT file browser (in icon mode) and see the same view.  I don't plan to pursue this, however.
  36.  
  37.  
  38. AUTHOR
  39.  
  40. Christopher Lane (lane@sumex-aim.stanford.edu) -- 1/25/91
  41.  
  42.  
  43. CONTRIBUTORS
  44.  
  45. Jiro Nakamura (jiro@heights.cit.cornell.edu) (code)
  46. Independent NeXT Developer
  47.  
  48. Alan Marcum (Alan_Marcum@next.com) (icons)
  49.